<?php
namespace backend\models;

use Yii;
use yii\base\Model;
use yii\db\ActiveRecord;

/**
 * Login Admin
 */
class LogAdmin extends ActiveRecord
{
	public static function tableName()
	{
		return 'log_admin';
	}
	
    public function rules()
    {
        return [
        		[['admin_name','login_ip','createtime'],'required']
        ];
    }
    public function attributeLabels()
    {
    	return [
    			'admin_name' => Yii::t('app', 'admin_name'),
    			'login_ip' => Yii::t('app', 'login_ip'),
    			'createtime' =>Yii::t('app','createtime'),
    
    	];
    }
    
}
